import { Draw } from "../../../Draw/Draw";

export function groupDragStart(draw: Draw) {
  // 记录初始位置
  const selected = draw.getKonvaGraph().getSelected();
  selected.forEach((g) => g.setAttrs({ sx: g.x(), sy: g.y() }));

  // 清空line 控制点
  draw.clearLineControl();
}
